package org.praisebase.pbpj;

import org.praisebase.pbpj.component.SongContainer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.praisebase.pbpj.io.*;
import org.praisebase.pbpj.component.Song;
import java.util.Enumeration;
import java.util.Properties;

/**
 * Hello world!
 *
 */
public class App 
{
	public static void main( String[] args ) 
	{
		/*
		System.out.println( "Hello World!" );

		Logger logger = LoggerFactory.getLogger("org.praisebase.pbpj");
		logger.debug("Hello world.");
		
		Properties props = System.getProperties();
    Enumeration e = props.propertyNames();

    while (e.hasMoreElements()) {
      String key = (String) e.nextElement();
      System.out.println(key + " -- " + props.getProperty(key));
    }*/
		
		OpenLyricsSongReader sr = new OpenLyricsSongReader();
		SongContainer s = sr.readSong("src/main/resources/samples/It Is Well With My Soul.xml");
		System.out.println(s);
		
	}
}
